<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>文章内容-Aries个人博客</title>
<meta name="keywords" content="blog" />
<meta name="description" content="blog" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/static/css/base.css" rel="stylesheet">
<link href="/static/css/m.css" rel="stylesheet">
<script src="/static/js/jquery-1.8.3.min.js" ></script>
<script src="/static/js/comm.js"></script>
<!--[if lt IE 9]>
<script src="/static/js/modernizr.js"></script>
<![endif]-->
</head>
<body>
<!--top begin-->
<header id="header">
  <div class="navbox">
    <h2 id="mnavh"><span class="navicon"></span></h2>
    <div class="logo"><a href="http://www.yangqq.com">Aries个人博客</a></div>
    <nav>
      <ul id="starlist">
        {{range $key, $item := .menu}}
          <li><a href="{{$item.Url}}">{{$item.Name}}</a></li>
        {{end}}
      </ul>
    </nav>
    <div class="searchico"></div>
  </div>
</header>
<div class="searchbox">
  <div class="search">
    <form action="/e/search/index.php" method="post" name="searchform" id="searchform">
      <input name="keyboard" id="keyboard" class="input_text" value="请输入关键字词" style="color: rgb(153, 153, 153);" onfocus="if(value=='请输入关键字词'){this.style.color='#000';value=''}" onblur="if(value==''){this.style.color='#999';value='请输入关键字词'}" type="text">
      <input name="show" value="title" type="hidden">
      <input name="tempid" value="1" type="hidden">
      <input name="tbname" value="news" type="hidden">
      <input name="Submit" class="input_submit" value="搜索" type="submit">
    </form>
  </div>
  <div class="searchclose"></div>
</div>
<!--top end-->
<article> 
  <!--lbox begin-->
  <div class="lbox">
    <div class="content_box whitebg">
      <h2 class="htitle"><span class="con_nav">您现在的位置是：<a href="/">网站首页</a>><a href="/">个人博客</a></span>博客详情</h2>
      <h1 class="con_tilte">{{.info.Article.Title}}</h1>
      <p class="bloginfo"><i class="avatar"><img src="{{.info.User.Avatar}}"></i><span>{{.info.User.Username}}</span><span>{{.info.Article.Created_at.Format "2006-01-02"}}</span><span>【<a href="/">{{.info.Article.Label}}</a>】</span><span>{{.info.Article.Read}}人已围观</span></p>
      <p class="con_info"><b>简介</b>{{.info.Article.Paper}}</p>
      <div class="con_text">
        {{str2html .info.Content}}
        <p><span class="diggit">点赞({{.info.Article.Live}}) </span></p>
        <div class="nextinfo">
          <p>上一篇：{{if .prev.Id}}<a href="/info?id={{.prev.Id}}">{{.prev.Title}}</a>{{else}}<a href="">没有了</a>{{end}}</p>
          <p>下一篇：{{if .next.Id}}<a href="/info?id={{.next.Id}}">{{.next.Title}}</a>{{else}}<a href="">没有了</a>{{end}}</p>
        </div>
      </div>
    </div>
  </div>
  <!--lbox end-->
  <div class="rbox">
    <div class="whitebg paihang">
      <h2 class="htitle">点击排行</h2>
      <ul>
        {{range .ph}}
          <li><i></i><a href="/info?id={{.Id}}">{{.Title}}</a></li>
        {{end}}
      </ul>
    </div>
  </div>
</article>
<footer>
  <div class="box">
    <div class="wxbox">
      <ul>
        <li><img src="/static/images/wxgzh.png"><span>微信公众号</span></li>
        <li><img src="/static/images/lywx.png"><span>我的微信</span></li>
      </ul>
    </div>
    <div class="endnav">
      <p><b>站点声明：</b></p>
      <p>1.本博客未个人博客,分享生活或工作中的一些技术问题和生活趣事.</p>
      <p>2.所有文章未经授权禁止转载、摘编、复制或建立镜像，如有违反，追究法律责任。举报邮箱：<a href="http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=HHh9cn95b3F1cHVye1xtbTJ-c3E" target="_blank">1842444715@qq.com</a></p>
      <p>Copyright © <a href="http://www.lyworker.com" target="_blank">www.lyworker.com</a> All Rights Reserved. 备案号：<a href="http://www.miitbeian.gov.cn/" target="_blank">渝ICP备17014875号-2</a></p>
    </div>
  </div>
  <a href="#">
  <div class="top"></div>
  </a> </footer>
</body>
<script>
  $('.diggit').click(function () {
    var id = "{{.info.Article.Id}}";
    $.post("/prise",{"id":id},function (d) {
        if (d.code==200){
            window.location.reload();
        }
    });
  })
</script>
</html>
